{% extends "sil29VitrineBundle::layout.html.twig" %} {% block content %}
<div class="span9">

	<ul class="breadcrumb">
		<li><a href="{{ path('sil29_vitrine_homepage') }}">Accueil</a> <span class="divider">/</span></li>
		<li class="active"> Liste des Elements Facturables </li>
	</ul>
	<h3>
		Liste des Elements Facturables
	</h3>

    <table class="records_list">
        <thead>
            <tr>
                <th>Id</th>
                <th>Nom</th>
                <th>Prix</th>
                <th>Description</th>
                <th>Imagesrc</th>
                <th>Typeelement</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
        {% for entity in entities %}
            <tr>
                <td><a href="{{ path('elementfacturable_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
                <td>{{ entity.nom }}</td>
                <td>{{ entity.prix }}</td>
                <td>{{ entity.description }}</td>
                <td>{{ entity.imageSrc }}</td>
                <td>{{ entity.typeElement }}</td>
                <td>
                <ul>
                    <li>
                        <a href="{{ path('elementfacturable_show', { 'id': entity.id }) }}">show</a>
                    </li>
                    <li>
                        <a href="{{ path('elementfacturable_edit', { 'id': entity.id }) }}">edit</a>
                    </li>
                </ul>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

        <ul>
        <li>
            <a href="{{ path('elementfacturable_new') }}">
                Create a new entry
            </a>
        </li>
    </ul>
    {% endblock %}
